cmake_minimum_required (VERSION 3.5)

# 定义项目名称变量PROJECT_NAME, 默认值为demo
set(PROJECT_NAME demo_top)
# 项目信息
project(${PROJECT_NAME})
message("PROJECT_VERSION is ${PROJECT_VERSION}")

set (Demo_VERSION_MAJOR 1)
set (Demo_VERSION_MINOR 0)

#添加子目录,将会调用子目录中的CMakeLists.txt
add_subdirectory (demo1)
add_subdirectory (demo8)

